package com.ruoyi.swla2.service;

import com.ruoyi.swla2.domain.SysOss;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

public interface ISysOssService {
    SysOss upload(MultipartFile file);

    void download(String fileName, String originalName, HttpServletResponse response) throws IOException;

    int remove(SysOss sysOss);
}
